
.row
  - if @order_beauties.blank?
    .alert.alert-info
      a href="#" class="close" data-dismiss="alert" &times; 
      |没有已接车工单
    
  - else
    -@order_beauties.each do |o|
      a href = "/service/beauty_show?id=#{o.id}" 
        .col-md-4
          .box.box-primary.box-solid
            .box-header.with-border
              .box-title
                |#{o.customer.car_num}

              .box-tools.pull-right
                button type="button" class="btn btn-box-tool" data-widget="collapse" 
                  i.fa.fa-minus
            .box-body.text-muted
              dl.dl-horizontal
                dt 工单号
                dd = o.code
                dt 客户级别
                dd = o.customer.customer_level.name
                dt 客户姓名
                dd = o.customer.name
                dt 车型
                dd = o.customer.car_mo
                dt 状态
                dd = o.status
                dt 等待时间
                dd #{ChronicDuration.output((Time.now-o.created_at).round)}


                
                  